home *** CD-ROM | disk | FTP | other *** search
/ Macromedia Multimedia Showcase 5.1 / Macromedia - Multimedia Showcase 5.1 (Macromedia) (1996).ISO / pc / media / shared.dir / 02006_Script_2006 < prev    next >
Text File  |  1996-03-28  |  470b  |  18 lines

  1. -- CUSTOM TIMEOUT frame script -- MARK SCENE END AS RETURN POINT (END OF SCENE)
  2.  
  3. on exitFrame
  4.   global gNavObj
  5.   UpdateEvents(gNavObj)
  6.   UpdateRollover(gNavObj)
  7.   if not(the timingOut of gNavObj) then
  8.     StartTimeOut(gNavObj)
  9.     set the timingOut of gNavObj = true
  10.     MarkReturn(gNavObj) -- mark this frame as a return point
  11.   end if
  12.   --
  13.   if TimeOutExpired(gNavObj) then
  14.     set the direction of gNavObj = #none
  15.   else
  16.     go the frame
  17.   end if
  18. end